import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';

//将App组件挂载到root节点下  用到它时要引入ReactDOM
//jsx语法 <App/>, 用到jsx语法时要引入React
//jsx语法组件名以大写开头如：<App />,import App from './App';一般自己写的组件用小写

ReactDOM.render(<App />, document.getElementById('root'));


